<!-- /* Description for file.
 * 简历全文查看
 *
 * @copyright     Copyright 2008-2010, PHInfo Services Inc. (http://www.phinfoservices.com)
 * @package       ues
 * @subpackage    ues/app/views/recruitpositions
 * @since         ues
 * @version       V0.0.1
 * @modifiedby    会兵2011年0712
 * @lastmodified  会兵2011年0712
 */-->
 
 <?php 
	echo $html->css ( 'style' );
	echo $html->css ( 'tab' );
	echo $javascript->link ( 'jquery' );
 ?>
<script language="javascript">

$(function()
		{
			$("#edit").click(function(){
				SaveDoc();
			});
		});

	//页面通过office控件打开文件
	function open()
	{
		document.all.dsoControl.Open("<?php echo $url;?>",true);
	}
	 
	function SaveDoc() {
		var url = $("#pageURL").val() + "UES/resumes/editresumefile/" + $("#ResumeId").val();
		document.all.dsoControl.HttpInit(); // 初始化Http引擎
		// 添加相应的Post元素 
		//document.all.dsoControl.HttpAddPostString("username", WebForm.username.value);
		// 添加上传文件
		document.all.dsoControl.HttpAddPostCurrFile("AipFile",""); 
		// 提交上传文件 
		document.all.dsoControl.HttpPost(url);

		window.location.reload();
	}

$(function()
		{
			open();
		});
</script>
<!-- 当前位置-->
<div id="tabmenubar">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="tabmenubartitle1"><?php echo  __('YourPosition');//您现在的位置：?></td>
		<td class="tabmenubartitle2"><?php echo __('Resumesmanagements');//一级目录
										   echo '>';echo __('Resumesallinfo search');//一级目录
										   echo '>';?>
									<?php echo $html->tag('span', __('Customer Managements Detail',true));//简历详细信息当前操作地用span加粗?> 						  
		</td>
	</tr>
</table>
</div>
<!-- 当前位置-->
<div class="tabflex">
	<table width="100%" cellspacing="0" cellpadding="0" border="0" style="text-align: left">
			<tr>
				<td height="20"><a href="<?php echo ROOT_WEB_PATH; ?>/resumes/resumedetail/<?php echo $resume['Resume']['id'];?>">具体简历</a></td>
				<td ><a href="<?php echo ROOT_WEB_PATH; ?>/resumes/mutualityresume/<?php echo $resume['Resume']['id'];?>">相关简历</a></td>
				<td ><a href="<?php echo ROOT_WEB_PATH; ?>/resumespostils/init/<?php echo $resume['Resume']['id'];?>">简历批注</a></td>
				<td ><a href="<?php echo ROOT_WEB_PATH; ?>/resumes/resumecommend/<?php echo $resume['Resume']['id'];?>">推荐面试</a></td>
				<TD align="center"><a href="<?php echo ROOT_WEB_PATH; ?>/resumes/allinfosuitposition/<?php echo $resume['Resume']['id'];?>">适合职位</a></TD>
				<td align="center"><a href="<?php echo ROOT_WEB_PATH; ?>/resumes/resumefiles/<?php echo $resume['Resume']['id'];?>">简历附件</a></td>
				<td ><a href="<?php echo ROOT_WEB_PATH; ?>/resumes/resumereports/<?php echo $resume['Resume']['id'];?>">简历报告</a></td>
				<TD align="center"><a href="<?php echo ROOT_WEB_PATH; ?>/resumes/viewresumecontext/<?php echo $resume['Resume']['id'];?>"  style="color:Red;">查看全文</a></TD>
				<td></td>
			</tr>
			<tr>
				<td colspan="11">简历原件：
					<?php 	if($resume['Resume']['resumefilepath']!=null&&$resume['Resume']['resumefilepath']!="")
							{
								$dir="files-resumefiles";
								echo $html->link($resume['Resume']['resumefilename'],
								'/resumes/down/'.$dir.'/'.$resume['Resume']['resumefilepath'],
								array('class'=>'view'));
							}
					?> 
			</tr>
	</table>

<table width="100%" cellspacing="0" cellpadding="0" border="0" style="text-align: left">
  <tr>
   <td>简历ID：
		<span style="word-break:break-all;"><?php echo $resume['Resume']['id'];?></span>
</td>
</TR>
</TABLE>

<?php echo $form->create('Resume',array('id'=>'resumeform','action'=>'viewresumecontext/'.$resume['Resume']['id'],'type'=> 'post'));?>
<?php echo $form->hidden('id',array('value'=>$resume['Resume']['id'],'id'=>'resumeid'));?>
<div>
<fieldset><legend><?php __('查看全文');?></legend>
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="text-align: left">
	<?php 
			echo $form->hidden('id',array('value'=>$resume['Resume']['id']));
		?>
	<?php 
			echo $form->hidden('url',array('value'=>$url,'id'=>'url'));
		?>
		
		<?php 
			echo $form->hidden('pageURL',array('value'=>$pageURL,'id'=>'pageURL'));
		?>
	<tr>
		<td width="50"></td>
		<td width="100"><?php echo $form->button('确定修改',array('class'=>'btn4','id'=>'edit'));?>  <!-- __('reset', true)取消-->
		</td>
	</tr>
</table>
</fieldset>
</div>
本页需要安装一个ActiveX控件，如果不能正常显示请修改IE的相关设置（工具-Internet选项-安全-自定义级别）。
							</TD>
						</TR>
						<TR>
							<TD>
								<OBJECT id="dsoControl" style="HEIGHT: 480px" codeBase="../Dso.cab#Version=2.2.1.2" width="100%"
									classid="clsid:00460182-9E5E-11D5-B7C8-B8269041DD57" VIEWASTEXT>
									<PARAM NAME="_ExtentX" VALUE="30718">
									<PARAM NAME="_ExtentY" VALUE="12700">
									<PARAM NAME="BorderColor" VALUE="-2147483632">
									<PARAM NAME="BackColor" VALUE="-2147483643">
									<PARAM NAME="ForeColor" VALUE="-2147483640">
									<PARAM NAME="TitlebarColor" VALUE="-2147483635">
									<PARAM NAME="TitlebarTextColor" VALUE="-2147483634">
									<PARAM NAME="BorderStyle" VALUE="1">
									<PARAM NAME="Titlebar" VALUE="0">
									<PARAM NAME="Toolbars" VALUE="1">
									<PARAM NAME="Menubar" VALUE="1">
								</OBJECT>
							</TD>
						</TR>
<?php echo $form->end();?>